Lists all available methods for restricting access to the Hub as well as the currently enabled access restriction method or public if Hub is public.
Security
ApiKeyAuth
- Main US regionhttps://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/access_restriction
- EU regionhttps://subdomain-of-your-account.app-eu1.statushub.io/api/v3/hubs/{subdomain}/access_restriction
curl -i -X GET \
'https://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/access_restriction?api_version=V3-R1' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'Response
{ "allowed_methods": [ "saml", "google_oauth", "global_password", "public" ], "enabled_method": "saml" }